home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 988 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news4.noc.netcom.net!zdc!zippo!usenet
  2. Newsgroups: comp.lang.c
  3. Subject: Re: What is '?' in C mean....?????
  4. Message-ID: <DKyyr2.EEq@news.zippo.com>
  5. From: Jim McFarland <jgm6@orkand.em.cdc.gov>
  6. Date: Wed, 10 Jan 1996 14:25:49 GMT
  7. Sender: usenet@news.zippo.com
  8. References: <4cgsa8$bm2@wumpus.cc.uow.edu.au>  
  9.  <fcusack-0401961115540001@mudskipper.cac.psu.edu> <4ci5bb$8m4@www.gnofn.org>
  10. Organization: The Orkand Corporation
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. Nntp-Posting-Host: 158.111.166.77
  14. X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
  15. Mime-Version: 1.0
  16.  
  17. clm01@www.gnofn.org (Christopher L Mayeux) wrote:
  18. > frank. (fcusack@tdx.org) wrote:
  19. >: > Could anyone here explain to me what is "?" means and what the purpose
  20. >: of using
  21. >:
  22. >: ? : is C's ternary operator. if the condition is met, perform the
  23. >: operation after the ?; if the condition is not met, perform the operation
  24. >: after the :
  25. >:
  26. >
  27. >What new perversion of C is that ???
  28. >
  29. >I've been programming in standard C for 12 years, and
  30. >never saw THAT in the manuals.
  31. >-- 
  32. >------------------------------------------------------------------------------
  33. >C.L. Mayeux - Owner, MSB Video <clm01@gnofn.org> - Affordable consumer videos.
  34.  
  35. Are you serious?!  You have never seen the "? :" operator, and you have 
  36. 12 years experience with C?!  Take another look at you manuals...
  37.  
  38. P.S.  C has been around for 12+ years, but ANSI/ISO Standard C has only 
  39. been around about 6 years.
  40.  
  41.  
  42. Jim
  43.